home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 421 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: chronicle.mti.sgi.com!austern
  2. From: "brian (b.c.) white" <bcwhite@bnr.ca>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Problem with template overloading
  5. Date: 20 Feb 1996 10:43:16 PST
  6. Organization: Bell-Northern Research Ltd.
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <4g7ndf$dhs@bcarh8ab.bnr.ca>
  9. NNTP-Posting-Host: isolde.mti.sgi.com
  10. X-Original-Date:  Sun, 18 Feb 1996 17:25:03 +0000 
  11. Content-Identifier:  Re: Problem w... 
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBVAwUBMSoWU0y4NqrwXLNJAQEGUQH+N2k59wuRLF4NEOQD5hwRUp1EYMhcvJV8
  14.     Ogd2lalyrfFnluiSstUkCl5uaE6+bveeqe4W5H7+6BL5AsZEqKdcxg==
  15.     =mNhY
  16. Originator: austern@isolde.mti.sgi.com
  17.  
  18. >>Is it allowed to overload template names based on their parameters
  19. >>in the same way that functions can be overloaded?
  20. >
  21. >No, that is not allowed. You cannot have more than one template
  22. >with the same name in the same scope.
  23.  
  24. Is there a specific reason for this?
  25.  
  26.                                         Brian
  27.                                  ( bcwhite@bnr.ca )
  28.  
  29. -------------------------------------------------------------------------------
  30.     In theory, theory and practice are the same.  In practice, they're not.
  31. ---
  32. [ To submit articles: Try just posting with your newsreader.  If that fails,
  33.                       use mailto:std-c++@ncar.ucar.edu
  34.   FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
  35.   Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  36.   Comments? mailto:std.c++-request@ncar.ucar.edu 
  37. ]
  38.